package net.thumbtack.onepm.tests.netJiraTrac;

import org.junit.Test;
import org.openqa.selenium.By;


/**
 * Created with IntelliJ IDEA.
 * User: efrolova
 * Date: 25.09.12
 * Time: 15:39
 * To change this template use File | Settings | File Templates.
 */
public class CreateMoreIssuesJira extends TestBaseJiraTrac {
    protected Issuess [] Issues = new Issuess[100];

        @Test
        public void testCreateBugs () throws Exception  {
            driver.get(baseurlJira);
            loginAsAdminJiraTrac a = new loginAsAdminJiraTrac();
              a.LogAJira();
            OptimazeIssue(Issues);
            for(int i = 1; i < 100; i++) {

            driver.findElement(By.id("create_link")).click();
            fillFormIssueJira(Issues[i]);
            driver.findElement(By.id("create-issue-submit")).click();
               driver.get("http://jira.thumbtack.lo:8080/secure/IssueNavigator.jspa");
            }  }
        }






